package cn.edu.ujn.food.entity;

import org.springframework.stereotype.Component;

import java.io.Serializable;
@Component
public class Reservation implements Serializable {
    private static final long serialVersionUID = 889355673866600772L;

    private Integer reserId;

    private Integer userId;

    private Integer tableId;

    @Override
    public String toString() {
        return "Reservation{" +
                "reserId=" + reserId +
                ", userId=" + userId +
                ", tableId=" + tableId +
                ", reserDate='" + reserDate + '\'' +
                ", reserNumber=" + reserNumber +
                ", reserCondition='" + reserCondition + '\'' +
                ", start=" + start +
                ", rows=" + rows +
                '}';
    }

    private String reserDate;

    private Integer reserNumber;

    private String reserCondition;
    private Integer start;
    private Integer rows;

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getReserId() {
        return reserId;
    }

    public void setReserId(Integer reserId) {
        this.reserId = reserId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getTableId() {
        return tableId;
    }

    public void setTableId(Integer tableId) {
        this.tableId = tableId;
    }

    public String getReserDate() {
        return reserDate;
    }

    public void setReserDate(String reserDate) {
        this.reserDate = reserDate;
    }

    public Integer getReserNumber() {
        return reserNumber;
    }

    public void setReserNumber(Integer reserNumber) {
        this.reserNumber = reserNumber;
    }

    public String getReserCondition() {
        return reserCondition;
    }

    public void setReserCondition(String reserCondition) {
        this.reserCondition = reserCondition;
    }

}

